﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Freedom.Models.ViewModels.MViewModel>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>自由官网 - 联系方式</title>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.1/jquery.mobile-1.2.1.min.css" />
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
    <script type="text/javascript" src="http://code.jquery.com/mobile/1.2.1/jquery.mobile-1.2.1.min.js"></script>
</head>
<body>
    <!-- Home -->
    <div data-role="page" id="page1">
        <div data-theme="c" data-role="header">
            <h3>
                联系方式
            </h3>
            <div data-role="collapsible-set">
                <div data-role="collapsible" data-collapsed="false">
                    <h3>
                        地址
                    </h3>
                    <img alt="地址" src="https://maps.googleapis.com/maps/api/staticmap?center=广东省&amp;zoom=14&amp;size=275x200&amp;markers=广东省&amp;sensor=false"
                    width="280" height="200">
                </div>
            </div>
            <div data-role="collapsible-set">
                <div data-role="collapsible" data-collapsed="false">
                    <h3>
                        留言板
                    </h3>
                    <% using (Html.BeginForm("Post", "M", FormMethod.Post)) {%>
                    <%: Html.ValidationSummary(true) %>
                    <%--<form action="/M/Post" method="POST">--%>
                        <div data-role="fieldcontain">
                            <label for="textinput1">
                                姓名
                            </label>
                            <%--<input name="" id="textinput1" placeholder="" value="" type="text" data-mini="true">--%>
                            <%: Html.TextBoxFor(model => model.messageInfo.Name, new { name = "", id = "textinput1", placeholder = "", value = "", type = "text" })%>
                        </div>
                        <div data-role="fieldcontain">
                            <label for="textinput2">
                                邮箱
                            </label>
                            <%--<input name="" id="textinput2" placeholder="" value="" type="email" data-mini="true">--%>
                            <%: Html.TextBoxFor(model => model.messageInfo.Email, new { name = "", id = "textinput2", placeholder = "", value = "", type = "email" })%>
                        </div>
                        <div data-role="fieldcontain">
                            <label for="textinput3">
                                标题
                            </label>
                            <%--<input name="" id="textinput3" placeholder="" value="" type="text" data-mini="true">--%>
                            <%: Html.TextBoxFor(model => model.messageInfo.Title, new { name = "", id = "textinput3", placeholder = "", value = "", type = "text" })%>
                        </div>
                        <div data-role="fieldcontain">
                            <label for="textarea1">
                                内容
                            </label>
                            <%--<textarea name="" id="textarea1" placeholder="" data-mini="true"></textarea>--%>
                            <%: Html.TextAreaFor(model => model.messageInfo.Content, new { name = "", id = "textarea1", placeholder = "" })%>
                        </div>
                        <input type="submit" value="发送">
                    <%--</form>--%>
                    <% } %>
                </div>
            </div>
        </div>
        <div data-role="content">
        </div>
        <div data-theme="c" data-role="footer" data-position="fixed">
            <h3>
                Copyright © 2013 Fed.Team
            </h3>
        </div>
    </div>
</body>
</html>

